springmvc4集成swagger2 首先在原有的springmvc工程的pom文件中增加swagger 增加swagger的配置类 其中有个信息 basePackage 指定controller的 ...